//
//  HangQingCell.m
//  Fireball
//
//  Created by mba on 17/12/26.
//  Copyright © 2017年 俞渊华. All rights reserved.
//

#import "HangQingCell.h"

@implementation HangQingCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

+ (HangQingCell *)cellWithTableView:(UITableView *)tableView {
    static NSString *ID = @"HangQingCellID";
    HangQingCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    if (!cell) {
        cell = [[NSBundle mainBundle] loadNibNamed:@"HangQingCell" owner:nil options:nil].lastObject;
        cell.selectedBackgroundView = [[UIView alloc] initWithFrame:cell.frame];
        cell.selectedBackgroundView.backgroundColor = [UIColor colorWithRed:105/255.0 green:196/255.0 blue:171/255.0 alpha:0.2];
    }
    return cell;
}
@end
